﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="LeaderForm.aspx.cs" Inherits="RenShiKaoQin.Account.LeaderForm" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div align="center">
<table border="2" rules="all" cellpadding="5" width="200px"><tr style="font-size:23px;font-weight:bold"><td>今&nbsp;&nbsp;日&nbsp;&nbsp;请&nbsp;&nbsp;假</td></tr></table>
 <table>
 <tr align="left"><td>按姓名查看：</td><td colspan="2"><asp:TextBox ID="tbName" 
         runat="server" Width="100%"></asp:TextBox></td><td>
             <asp:Button ID="btnSearch" runat="server" Text="查找" onclick="btnSearch_Click" 
                 Width="100%" /></td></tr>
 <tr align="left"><td>请选择查看条件：</td><td>院区<asp:DropDownList ID="ddlRegion" 
         runat="server" AutoPostBack="True" 
         onselectedindexchanged="ddlRegion_SelectedIndexChanged">
            <asp:ListItem Value="99">未选择</asp:ListItem>
            <asp:ListItem Value="0102">医院本部</asp:ListItem>
            <asp:ListItem Value="03">东区</asp:ListItem>
            <asp:ListItem Value="06">西海岸</asp:ListItem>
        </asp:DropDownList></td><td>工作岗位<asp:DropDownList ID="ddlPost" runat="server" 
             AutoPostBack="True" onselectedindexchanged="ddlPost_SelectedIndexChanged">
            <asp:ListItem Value="99">未选择</asp:ListItem>
            <asp:ListItem Value="0">行政管理岗位</asp:ListItem>
            <asp:ListItem Value="1">医生岗位</asp:ListItem>
            <asp:ListItem Value="2">护士岗位</asp:ListItem>
            <asp:ListItem Value="3">药剂岗位</asp:ListItem>
            <asp:ListItem Value="5">医技岗位</asp:ListItem>
            <asp:ListItem Value="6">其他系列技术岗位</asp:ListItem>
            <asp:ListItem Value="7">工勤岗位</asp:ListItem>
            <asp:ListItem Value="8">其他岗位</asp:ListItem>
        </asp:DropDownList></td><td>  职务<asp:DropDownList ID="ddlHeadship" 
             runat="server" AutoPostBack="True" 
             onselectedindexchanged="ddlHeadship_SelectedIndexChanged">
            <asp:ListItem Value="99">未选择</asp:ListItem>
            <asp:ListItem Value="01">党内任职</asp:ListItem>
            <asp:ListItem Value="04">团内任职</asp:ListItem>
            <asp:ListItem Value="05">行政任职</asp:ListItem>
            <asp:ListItem Value="0605">科主任</asp:ListItem>
            <asp:ListItem Value="0608">护士</asp:ListItem>
        </asp:DropDownList></td>
    </tr></table>
    <asp:GridView ID="gvToday" runat="server" AutoGenerateColumns="False" 
        DataKeyNames="SerialNO" 
        EmptyDataText="没有符合条件的数据" CellPadding="4" ForeColor="#333333" 
        GridLines="None" Font-Size="17px">
        <AlternatingRowStyle BackColor="White" />
        <Columns>
            <asp:BoundField DataField="EmployeeName" HeaderText="姓名" 
                SortExpression="EmployeeName" />
            <asp:BoundField DataField="TypeName" HeaderText="请假类型" 
                SortExpression="TypeName" />
            <asp:BoundField DataField="StartDate" HeaderText="开始时间" 
                SortExpression="StartDate" DataFormatString="{0:D}" />
            <asp:BoundField DataField="EndDate" HeaderText="结束时间" 
                SortExpression="EndDate" DataFormatString="{0:D}" />
            <asp:BoundField DataField="DeptName" HeaderText="所在科室" 
                SortExpression="DeptName" />
            <asp:BoundField DataField="ExamerName" HeaderText="审批人" 
                SortExpression="ExamerName" />
            <asp:BoundField DataField="CheckerName" HeaderText="复核人" 
                SortExpression="CheckerName" />
        </Columns>
        <EditRowStyle BackColor="#2461BF" />
        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
        <RowStyle BackColor="#EFF3FB" />
        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
        <SortedAscendingCellStyle BackColor="#F5F7FB" />
        <SortedAscendingHeaderStyle BackColor="#6D95E1" />
        <SortedDescendingCellStyle BackColor="#E9EBEF" />
        <SortedDescendingHeaderStyle BackColor="#4870BE" />
    </asp:GridView>
</div>
</asp:Content>
